import request from '@/utils/request'

//商家隔油池统计
export function apiGetMerchantAndOilPoolStatistics (params) {
  return request({
    url: '/daping/MerchantAndOilPoolStatistics',
    method: 'get',
    params: params
  })
}

//商家排水证预警
export function apiGetDrainageCertificateWarning (params) {
  return request({
    url: '/daping/DrainageCertificateWarning',
    method: 'get',
    params: params
  })
}

//车辆预警
export function apiGetVehicleWarning (params) {
  return request({
    url: '/daping/VehicleWarning',
    method: 'get',
    params: params
  })
}

//清理数量
export function apiGetCleanNumber (params) {
  return request({
    url: '/daping/CleaningQuantity',
    method: 'get',
    params: params
  })
}

//清理数量列表
export function apiGetCleaningQuantityList () {
  return request({
    url: '/daping/CleaningQuantityList',
    method: 'get'
  })
}

//区域数量
export function apiGetAreaCount () {
  return request({
    url: '/daping/AreaCounts',
    method: 'get'
  })
}

//今日作业情况
export function apiGetTodayWorkSituation () {
  return request({
    url: '/daping/ClearPeoples',
    method: 'get'
  })
}

//隔油池当前状况
export function apiGetOilPoolCurrentSituation () {
  return request({
    url: '/daping/OilTaskStatus',
    method: 'get'
  })
}

//销量
export function apiGetOilPoolCurrentSituationList () {
  return request({
    url: '/daping/WasteOilSales',
    method: 'get'
  }
  )
}

//商家信息
export function apiGetMerchantList () {
  return request({
    url: '/daping/merchantList',
    method: 'get'
  }
  )
}